package com.fj.netty.rpc.message;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author fj
 * @date 2024/1/17 15:05
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class RpcResponseMessage extends Message {

    private Object returnValue;
    private Exception exceptionValue;

    @Override
    public byte getMessageType() {
        return RPC_RESPONSE_MESSAGE;
    }
}
